package com.example.restaurant.controller.form;

import com.example.restaurant.common.allenum.DeskStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("修改桌数模型")
public class PutDeskForm {

    private int id;
    @NotNull
    @ApiModelProperty("关联门店id")
    private int storeId;
    @NotBlank
    @ApiModelProperty("桌名")
    private String deskName;
    @NotNull
    @ApiModelProperty("状态")
    private DeskStatus status;

}
